package com.fuxin.app.error;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author fuxin
 * @date 2019/3/1 9:40
 * @description
 */
@Data
public class BasicException extends RuntimeException {

	private int code = 0;

	public BasicException(int code, String message){
		super(message);
		this.code = code;
	}
}
